# $Id: PKGBUILD 154136 2012-03-23 17:18:19Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=kbproto
pkgver=1.0.6
pkgrel=1
pkgdesc="X11 XKB extension wire protocol"
arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('a2cc82357c22a1f4d6243017982c32703c95575c')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
